<template>
  <div class="content-container">
    <div class="line"></div>
    <div class="left-top-bar bar" :style="{ height: `${barTop}px` }"></div>
    <div class="right-top-bar bar" :style="{ height: `${barTop}px` }"></div>
    <div
      class="left-bottom-bar bar"
      :style="{ height: `${barBottom}px` }"
    ></div>
    <div
      class="right-bottom-bar bar"
      :style="{ height: `${barBottom}px` }"
    ></div>
    <slot></slot>
  </div>
</template>
<script>
export default {
  name: "Status",
  props: {
    barTop: {
      default: 11,
      type: Number,
    },
    barBottom: {
      default: 11,
      type: Number,
    },
    status: {
      default: "",
      type: String,
    },
  },
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
.content-container {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    90deg,
    rgba(52, 203, 237, 0.1) 0%,
    rgba(102, 230, 255, 0.25) 54%,
    rgba(52, 192, 237, 0.1) 100%
  );
  border: 1px solid rgba(102, 230, 255, 0.25);
  //   opacity: 0.25;
  transition: opacity 0.25s ease;
  .line {
    width: 100%;
    height: 11px;
    background: linear-gradient(
      90deg,
      #0a3c4c 0%,
      rgba(10, 58, 73, 0) 50%,
      #093746 100%
    );
  }
  .bar {
    width: 5px;
    position: absolute;
    background: #62fff6;
  }
  .left-top-bar {
    top: 0;
    left: 0;
  }
  .right-top-bar {
    top: 0;
    right: 0;
  }
  .left-bottom-bar {
    bottom: 0;
    left: 0;
  }
  .right-bottom-bar {
    bottom: 0;
    right: 0;
  }
}
</style>